package pjwstk.jps.ast.binary;

import pjwstk.jps.ast.Expression;
import pjwstk.jps.ast.IExpression;
import pjwstk.jps.visitor.ASTVisitor;

public class NAndExpression extends BinaryExpression implements INAndExpression
{
    public NAndExpression(Expression leftExpr, Expression rightExpr) {
        super(leftExpr, rightExpr);
    }
    
    @Override
    public void accept(ASTVisitor visitor) {
        visitor.visitNAndExpression(this);
    }

    @Override
    public IExpression getLeftExpression() {
        return super.getLeftExpr();
    }

    @Override
    public IExpression getRightExpression() {
        return super.getRightExpr();
    }
}